/**
 * 频道模块请求来了
 */
 import request from '@/utils/request'
 /**
  * 全部频道
  */
 export const getAllChannels = () => {
     return request ({
         method: 'GET',
         url: '/app/v1_0/channels'
     })
 }

/**
 *  添加用户的频道
 */
 export const addUserChannel =  data => {
     return request ({
         method: 'PATCH',
         url: '/app/v1_0/user/channels',
         data
     })
 }
 



